<template>
  <div>
    <div class="operate_det">
      <div class="operate_list">
        <eagle-row class="operate_row_first">
          <eagle-col span="2">#</eagle-col>
          <eagle-col span="5">版本类别</eagle-col>
          <eagle-col span="5">操作类型</eagle-col>
          <eagle-col span="12">操作说明</eagle-col>
        </eagle-row>
        <eagle-row
          v-for="(item, index) in list"
          :key="index"
          class="operate_row"
        >
          <eagle-col span="2">{{ index + 1 }}</eagle-col>
          <eagle-col span="5">{{ item.VersionTypeName }}</eagle-col>
          <eagle-col span="5">{{ item.OperateTypeName }} </eagle-col>
          <eagle-col span="12">{{ item.OperateLog }} </eagle-col>
        </eagle-row>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {
      filter: {
        fileManageCode: this.$route.query.code,
      },
      border: false,
      list: [],
    };
  },

  created() {
    this.getDetail();
  },

  methods: {
    // 获取详情
    getDetail() {
      let _this = this;
      _this.$axios
      .get("/PlanEmergencyFileManageLog/GetPageData",{params:_this.filter})
      .then((res) => {
        _this.list = res.data.Data;
      });
    },
  },
};
</script>

<style lang="less" scoped>
.operate_det {
  background-color: #fff;
  padding: 10px;
  .operate_list {
    font-size: 12px;
    border: 1px solid #e8f1f8;
    .operate_row_first {
      padding: 10px;
      background-color: #e8f1f8;
      border-bottom: 1px solid #e8f1f8;
      margin-bottom: 10px;
    }
    .operate_row {
      padding: 10px;
      border-bottom: 1px solid #e8f1f8;
      line-height: 16px;
    }
  }
}
</style>
